package com.dhj.jvmstudy.chapter04;

/**
 * jvm栈
 */
public class StackTest {

    public static void main(String[] args) {
        StackTest test = new StackTest();
        test.methodA();
    }

    public void methodA(){
        int i = 10;
        int j = 20;
        System.out.println("hello methodA.");
        methodB();
    }


    public void methodB(){
        int h = 30;
        int k = 40;
        System.out.println("hello methodB.");
    }

}
